Welcome to the mod documentation. Here you can see how to edit and change features that you don't like, or to learn a bit more about how the mod works so you can apply it to your own

To begin, you need to extract the .pak file. You can use windows or 7zip. A libs file should appear.
- This is a PTF, patched table file, so the structure is a bit different and the compatibility is much better
Because of this, the file structure is a bit different


For example

lib\--storm\--abilities\--animals\--base_horseoverhaul.xml
		        	 \--horses_horseoverhaul.xml

	   \--appearance\--common\--appearance_horse_horseoverhaul.xml

	   \--storm__horseoverhaul_t.xml

1. Storm__X_t.xml will push the renamed PTF file to the game directory. Instead of "appearance_horse.xml" you might have noticed I renamed it to resemble my mod. 

The game won't recognize this file since this is part of the storm folder, so you will need your own Storm__X_t.xml file. Where "X" stands for your modid in your mod.manifest. Just copy mine and fill it out if you dont have one.

in it will be (for me)
```
<?xml version="1.0"?>
<storm>
	<tasks>
		<task name="appearance" class="appearance">
			<source path="appearance\common\appearance_horse_horseoverhaul.xml" />
		</task>
		<task name="abilities" class="abilities">
			<source path="abilities\animals\base_horseoverhaul.xml" />
			<source path="abilities\animals\horses_horseoverhaul.xml" />
		</task>
	</tasks>
</storm>
```
	-simply replace the task with your own
2. Inside the PTF files you renamed will be only the things you changed along with their parents.

For example, in appearance_horse_horseoverhaul.xml I have the parents

<?xml version="1.0"?>
<!DOCTYPE storm SYSTEM "..\storm.dtd">
<storm>
  <rules>
  ...
  </rules
</storm>

If I wanted to change just Tarants stats I would include only Tarants call as a child between <rules> and </rules>

<!-- Tarant -->
    <rule name="rpg_animal_tsem_horseForSale_1">
      <selectors>
        <hasName name="tsem_horseForSale_1" />
      </selectors>
      <operations>
        <setAttribute stat="agility" value="20" />
        <setAttribute stat="courage" value="14" />
        <setAttribute stat="strength" value="15" />
        <setAttribute stat="vitality" value="12" />
      </operations>
    </rule>

3. not all PTF files require Storm__X_t.xml, like table files. Go libs\--tables\--character\--charactercomponent__horseoverhaul_t.xml for example. _t for table. In it is same as above.

You can combine all libs into one big archive if you wanted to. Even if you extract them from different base game .paks

To archive the libs folder, you want to click archive with **WinRAR**, and in WinRARs settings, make sure everything is default EXCEPT, use .zip format alongside turning OFF HPT, High Precision Time. You can find it in the time section. You can also use the Pak builder on Nexus, WinRAR is just faster.

